package com.atchangsha.system.service;

import com.atchangsha.system.common.utils.Result;
import com.atchangsha.system.dto.WorkerDTO;
import com.atchangsha.system.dto.WorkerLoginDto;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atchangsha.system.common.utils.PageUtils;
import com.atchangsha.system.entity.WorkerEntity;

import java.util.Map;

/**
 * @author 卓越班项目第二组
 * @date 2022-04-22 00:49:59
 */
public interface WorkerService extends IService<WorkerEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Result registry(WorkerLoginDto workerLoginDto);

    Result login(String username, String password);

    Result updateMessage(WorkerDTO workerDTO);
}

